﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000A69 RID: 2665
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class LobbyBeginCsReq : IMessage<LobbyBeginCsReq>, IMessage, IEquatable<LobbyBeginCsReq>, IDeepCloneable<LobbyBeginCsReq>, IBufferMessage
	{
		// Token: 0x170021B6 RID: 8630
		// (get) Token: 0x06007770 RID: 30576 RVA: 0x0013F4F6 File Offset: 0x0013D6F6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<LobbyBeginCsReq> Parser
		{
			get
			{
				return LobbyBeginCsReq._parser;
			}
		}

		// Token: 0x170021B7 RID: 8631
		// (get) Token: 0x06007771 RID: 30577 RVA: 0x0013F4FD File Offset: 0x0013D6FD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return LobbyBeginCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170021B8 RID: 8632
		// (get) Token: 0x06007772 RID: 30578 RVA: 0x0013F50F File Offset: 0x0013D70F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return LobbyBeginCsReq.Descriptor;
			}
		}

		// Token: 0x06007773 RID: 30579 RVA: 0x0013F516 File Offset: 0x0013D716
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LobbyBeginCsReq()
		{
		}

		// Token: 0x06007774 RID: 30580 RVA: 0x0013F51E File Offset: 0x0013D71E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LobbyBeginCsReq(LobbyBeginCsReq other) : this()
		{
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06007775 RID: 30581 RVA: 0x0013F537 File Offset: 0x0013D737
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LobbyBeginCsReq Clone()
		{
			return new LobbyBeginCsReq(this);
		}

		// Token: 0x06007776 RID: 30582 RVA: 0x0013F53F File Offset: 0x0013D73F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as LobbyBeginCsReq);
		}

		// Token: 0x06007777 RID: 30583 RVA: 0x0013F54D File Offset: 0x0013D74D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(LobbyBeginCsReq other)
		{
			return other != null && (other == this || object.Equals(this._unknownFields, other._unknownFields));
		}

		// Token: 0x06007778 RID: 30584 RVA: 0x0013F56C File Offset: 0x0013D76C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06007779 RID: 30585 RVA: 0x0013F592 File Offset: 0x0013D792
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600777A RID: 30586 RVA: 0x0013F59A File Offset: 0x0013D79A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600777B RID: 30587 RVA: 0x0013F5A3 File Offset: 0x0013D7A3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600777C RID: 30588 RVA: 0x0013F5BC File Offset: 0x0013D7BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600777D RID: 30589 RVA: 0x0013F5E2 File Offset: 0x0013D7E2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(LobbyBeginCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600777E RID: 30590 RVA: 0x0013F5FF File Offset: 0x0013D7FF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600777F RID: 30591 RVA: 0x0013F608 File Offset: 0x0013D808
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			while (input.ReadTag() != 0U)
			{
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04002DAF RID: 11695
		private static readonly MessageParser<LobbyBeginCsReq> _parser = new MessageParser<LobbyBeginCsReq>(() => new LobbyBeginCsReq());

		// Token: 0x04002DB0 RID: 11696
		private UnknownFieldSet _unknownFields;
	}
}
